﻿using Microsoft.Data.Sqlite;
using System;
using System.Collections.Generic;
using System.Text;

namespace SQLite
{
    internal class SqlParaModel
    {
        /// <summary>
        /// 
        /// </summary>
        public string Name { set; get; }

        /// <summary>
        /// 
        /// </summary>
        public object Value { set; get; }

        /// <summary>
        /// 转化成SqliteParameter
        /// </summary>
        public SqliteParameter SQLiteParameter => new SqliteParameter(Name, Value);
    }
}
